<!--    继承layouts/std_master.php模板  -->
@extends('layouts.std_master')


<!-- 重写内容  -->
@section('content')

<h1 align="center">成果跟踪</h1>
<div class="col-lg-3"></div>
<div class="col-lg-6">

<form action="/std/result_track" method="POST" enctype="multipart/form-data">
	
	@if($report->project->type <= 9)
	<input type="file" name="file" >
		附件：<a href="/argue_book/{{$report->infos->attachmentpath }}/{{$report->infos->attachmentname }}">{{$report->infos->attachmentname or ''}}</a>
	<textarea rows="10" cols="100"  name="成果跟踪" placeholder="备注...">{{$report->infos->成果跟踪 or ''}}</textarea>
	@else
	<input type="file" name="file" disabled >
		附件：<a href="/argue_book/{{$report->infos->attachmentpath }}/{{$report->infos->attachmentname }}">{{$report->infos->attachmentname or ''}}</a>
	<textarea rows="10" cols="100"  name="成果跟踪" disabled placeholder="备注...">{{$report->infos->成果跟踪 or ''}}</textarea>
	@endif


	<input type="hidden" name="rid" value="{{$report->rid }}">
	<input type="hidden" name="report_type" value="{{$report->report_type }}">
	


	@if($report->project->type==8||empty($report))
		<button class="btn btn-success" type="submit" name="submit" >提交</button>
	@elseif($report->project->type==9)
		<button class="btn btn-primary" type="submit"  name="submit" >修改</button>
	@elseif($report->project->type>9)
		<button class="btn btn-primary" type="submit" disabled name="submit" >成果跟踪已完成</button><font color="red">老师已审核</font>
	@endif
	
</form>
</div>
@endsection